//
//  PresentationsView.swift
//  learn-ios
//
//  Created by Dong on 2022/4/6.
//

import SwiftUI

struct PresentationsView: View {
    var body: some View {
        VStack {
            List {
                NavigationLink {
                    UseNavigationView()
                } label: {
                    Text("导航")
                }

                NavigationLink {
                    UseOutlineGroup()
                } label: {
                    Text("大纲")
                }

                NavigationLink {
                    UseDisclosureGroup()
                } label: {
                    Text("披露")
                }

                NavigationLink {
                    UseTabView()
                } label: {
                    Text("选项卡")
                }

                NavigationLink {
                } label: {
                    Text("拆分视图(macos)")
                }
                
                NavigationLink {
                    UseTimelineView()
                } label: {
                    Text("时间线视图(指定时间重新绘制视图)")
                }
            }
        }
    }
}

struct PresentationsView_Previews: PreviewProvider {
    static var previews: some View {
        NavigationView {
            PresentationsView()
        }
    }
}
